//
//  ByBottomListPopView.h
//  Homept_ios
//
//  Created by pro on 16/9/1.
//  Copyright © 2016年 pro. All rights reserved.
//

#import "ByPickerView.h"

@protocol ByBottomListPopViewDelegate <NSObject>

- (void)popViewDidSelected:(NSString *)item;
@end

// 底部弹出的选择视图，则前后选择项关联，仅适用于2列的
@interface ByBottomListPopView : ByPickerView <UIPickerViewDelegate, UIPickerViewDataSource>

@property (nonatomic, strong) NSArray *arrayData;
@property (nonatomic, strong) NSDictionary *dataDic;
@property (nonatomic, assign) id <ByBottomListPopViewDelegate> delegate;

@property (nonatomic, copy) void (^ popviewDidSelected)(NSString *item);
// 回调版本2，可以返回第一列选中的，和第二列选中的
@property (nonatomic, copy) void (^ popviewDidSelectedV2)(NSString *item1 ,NSString *item2);

@end
